package com.expertria.glex.view;

import com.expertria.glex.view.layout.HorizontalLayout;
import com.expertria.glex.view.layout.IAlignment;

public class HGroup extends Group implements IAlignment{

	   
	public HGroup ()
	{
		 
		super( new HorizontalLayout());
	}
	
	@Override
	public void setHorizontalAlignment(HorizontalAlign alignment) {
		
		getLayout().setHorizontalAlignment(alignment);
		
	}
	 

	@Override
	public void setVerticalAlignment(VerticalAlign alignment) {
		
		getLayout().setVerticalAlignment(alignment);
		
	}
	
	public HorizontalLayout getLayout()
	{
		return (HorizontalLayout) this.layout;
	}
	
	
	
	
}
